home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / Edit.pak / EDIT.RC < prev    next >
Text File  |  1996-01-08  |  1KB  |  41 lines

  1. //----------------------------------------------------------------------------
  2. // ObjectWindows
  3. // Copyright (c) 1991, 1995 by Borland International, All Rights Reserved
  4. //----------------------------------------------------------------------------
  5. #include <owl/inputdia.rh>
  6. #include <owl/inputdia.rc>
  7. #include <owl/editfile.rh>
  8. #include <owl/editfile.rc>
  9. #include <owl/owlapp.rc>         // default owl app icon
  10. #include "edit.rh"
  11.  
  12.  
  13. IDM_EXAMPLE_EDIT MENU
  14. {
  15.   POPUP "&File"
  16.   {
  17.     MenuItem "&Open...",      CM_RESTORE_TEXT
  18.     MenuItem "Save &As...",   CM_SAVE_TEXT
  19.     MenuItem  SEPARATOR
  20.     MenuItem "E&xit",         CM_EXIT
  21.   }
  22.  
  23.   POPUP "&Edit"
  24.   {
  25.     MenuItem  "&Undo\aCtrl+Z",        CM_EDITUNDO
  26.     MenuItem  SEPARATOR
  27.     MenuItem  "Cu&t\aCtrl+X",         CM_EDITCUT
  28.     MenuItem  "&Copy\aCtrl+C",        CM_EDITCOPY
  29.     MenuItem  "&Paste\aCtrl+V",       CM_EDITPASTE
  30.     MenuItem  "&Delete\aDel",         CM_EDITDELETE
  31.     MenuItem  "C&lear All\aCtrl+Del", CM_EDITCLEAR
  32.   }
  33.  
  34.   POPUP "&Operations"
  35.   {
  36.     MenuItem "&Insert text...",      CM_INSERT_TEXT
  37.     MenuItem "Delete &Subtext...",   CM_DELETE_SUBTEXT
  38.     MenuItem "Delete &Line...",      CM_DELETE_LINE
  39.   }
  40. }
  41.